[INFO] cloning repository https://github.com/putao0525/min-tun2proxy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/putao0525/min-tun2proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fputao0525%2Fmin-tun2proxy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fputao0525%2Fmin-tun2proxy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c29462ccd2e39b896cb31636c711058692df157f
[INFO] testing putao0525/min-tun2proxy against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fputao0525%2Fmin-tun2proxy" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/putao0525/min-tun2proxy
[INFO] finished tweaking git repo https://github.com/putao0525/min-tun2proxy
[INFO] tweaked toml for git repo https://github.com/putao0525/min-tun2proxy written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/putao0525/min-tun2proxy on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/putao0525/min-tun2proxy already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cccbbcfd9f4899d4afbfd33a28b70f751cddf401d62ad9f7b624b436d3d619e1
[INFO] running `Command { std: "docker" "start" "-a" "cccbbcfd9f4899d4afbfd33a28b70f751cddf401d62ad9f7b624b436d3d619e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cccbbcfd9f4899d4afbfd33a28b70f751cddf401d62ad9f7b624b436d3d619e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cccbbcfd9f4899d4afbfd33a28b70f751cddf401d62ad9f7b624b436d3d619e1", kill_on_drop: false }`
[INFO] [stdout] cccbbcfd9f4899d4afbfd33a28b70f751cddf401d62ad9f7b624b436d3d619e1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 933c634cfd4e422af5a2f62e87bbe3d571b39ae3fbf674149a16f0780d21bf42
[INFO] running `Command { std: "docker" "start" "-a" "933c634cfd4e422af5a2f62e87bbe3d571b39ae3fbf674149a16f0780d21bf42", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling bytes v1.7.1
[INFO] [stderr]    Compiling no-std-net v0.6.0
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling pnet_base v0.35.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]    Compiling serde v1.0.209
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling futures v0.1.31
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling net2 v0.2.39
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling anstyle-parse v0.2.5
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling colorchoice v1.0.2
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling anstyle v1.0.8
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling anstyle-query v1.1.1
[INFO] [stderr]    Compiling anstream v0.6.15
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling pnet_sys v0.35.0
[INFO] [stderr]    Compiling pnet_macros_support v0.35.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling regex v1.10.6
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling pnet v0.35.0
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling clap_lex v0.7.2
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling ipnetwork v0.20.0
[INFO] [stderr]    Compiling clap_builder v4.5.15
[INFO] [stderr]    Compiling clap_derive v4.5.13
[INFO] [stderr]    Compiling pnet_datalink v0.35.0
[INFO] [stderr]    Compiling env_filter v0.1.2
[INFO] [stderr]    Compiling tokio v1.40.0
[INFO] [stderr]    Compiling pnet_macros v0.35.0
[INFO] [stderr]    Compiling async-trait v0.1.82
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling pnet_packet v0.35.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling ioctl-sys v0.8.0
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling tun v0.6.1
[INFO] [stderr]    Compiling env_logger v0.11.5
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling tokio-signal v0.2.9
[INFO] [stderr]    Compiling colored v2.1.0
[INFO] [stderr]    Compiling clap v4.5.16
[INFO] [stderr]    Compiling pnet_transport v0.35.0
[INFO] [stderr]    Compiling tokio-socks v0.5.2
[INFO] [stderr]    Compiling bb8 v0.8.5
[INFO] [stderr]    Compiling hyper v1.4.1
[INFO] [stderr]    Compiling min-tun2proxy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `macos` in `platform`
[INFO] [stdout]   --> src/main.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::platform::macos::mac_table::MacRouteTable;
[INFO] [stdout]    |                      ^^^^^ could not find `macos` in `platform`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/platform/mod.rs:2:9
[INFO] [stdout]    |
[INFO] [stdout]  1 | #[cfg(target_os = "macos")]
[INFO] [stdout]    |       ------------------- the item is gated behind the `macos` feature
[INFO] [stdout]  2 | pub mod macos;
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, and `warn`
[INFO] [stdout]  --> src/utils/log.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{debug, error, info, Level, trace, warn};
[INFO] [stdout]   |           ^^^^^  ^^^^^  ^^^^         ^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::signal`
[INFO] [stdout]  --> src/utils/log.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio::signal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead` and `AsyncWrite`
[INFO] [stdout]   --> src/main.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | use tokio::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt};
[INFO] [stdout]    |                 ^^^^^^^^^                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `signal` and `task`
[INFO] [stdout]   --> src/main.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use tokio::{signal, task};
[INFO] [stdout]    |             ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     ///日志初始化
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 31 |     unsafe { env::set_var("RUST_LOG", "info"); }
[INFO] [stdout]    |     -------------------------------------------- rustdoc does not generate documentation for expressions
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     ///解析命令行参数
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 34 |     let user_conf = UserConfig::parse_params();
[INFO] [stdout]    |     ------------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     ///初始化路由表
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 38 |     route_table.init_route_table();
[INFO] [stdout]    |     ------------------------------ rustdoc does not generate documentation for expressions
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     ///创建设备
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 44 |     let mut dev = create_tun_dev(&user_conf.tun_conf).expect("创建tun设备失败");
[INFO] [stdout]    |     ---------------------------------------------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |     ///数据包处理
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 46 |     let _ = exe_packet(&mut dev, &user_conf);
[INFO] [stdout]    |     ----------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 119 |     !todo!()
[INFO] [stdout]     |     ^-------
[INFO] [stdout]     |     ||
[INFO] [stdout]     |     |any code following this expression is unreachable
[INFO] [stdout]     |     unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/main.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{Read, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `self_packet`
[INFO] [stdout]    --> src/main.rs:118:23
[INFO] [stdout]     |
[INFO] [stdout] 118 | async fn forward_http(self_packet: SelfPacket<'_>, user_config: &UserConfig) -> anyhow::Result<()> {
[INFO] [stdout]     |                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_packet`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_config`
[INFO] [stdout]    --> src/main.rs:118:52
[INFO] [stdout]     |
[INFO] [stdout] 118 | async fn forward_http(self_packet: SelfPacket<'_>, user_config: &UserConfig) -> anyhow::Result<()> {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |     let mut dev = TunDevice::new(&config)?;
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `min-tun2proxy` (bin "min-tun2proxy") due to 1 previous error; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "933c634cfd4e422af5a2f62e87bbe3d571b39ae3fbf674149a16f0780d21bf42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "933c634cfd4e422af5a2f62e87bbe3d571b39ae3fbf674149a16f0780d21bf42", kill_on_drop: false }`
[INFO] [stdout] 933c634cfd4e422af5a2f62e87bbe3d571b39ae3fbf674149a16f0780d21bf42
